function reportTestResult(n,err,sp)
% 
% Report the result of a ppft test.
% This is an internal function called by the test functions.
%
% Yoel Shkolnisky, December 2010.

fprintf('n=%d\tError=%e\t Speedup=%2f\t',n,err,sp);
if err<1.0e-6
    fprintf('OK\n');
else
    fprintf('ERR\n');
end
